package com.moshang.blog.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.moshang.blog.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @program: blog
 * @description: ${description}
 * @author: xieweiwei
 * @create: 2018-09-30 16:23
 **/
@Getter
@Setter
@TableName("sys_site")
public class Site extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;
    private String name;
    private String version;
    private String author;
    @TableField("author_icon")
    private String authorIcon;
    @TableField("file_upload_type")
    private String fileUploadType;
    private String weibo;
    private String qq;
    private String git;
    private String github;
    private String phone;
    private String email;
    private String address;
    private String logo;
    private String server;
    @TableField("`database`")
    private String database;
    @TableField("max_upload")
    private Integer maxUpload;
    private String keywords;
    private String description;
    private String powerby;
    private String record;
    private String remarks;
    /**
     * 网站网址
     */
    private String url;

    /**
     * 是否开放系统评论
     */
    @TableField("open_message")
    private Boolean openMessage = false;

    /**
     * 是否匿名评论
     */
    @TableField("is_no_name")
    private Boolean isNoName = false;

}
